home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet internetowy / Przegladarki internetowe / Mozilla Seamonkey 1.0.5 pl / seamonkey-1.0.5.pl-PL.win32.installer.exe / MAIL.XPI / bin / chrome / messenger.jar / content / messenger / messageWindow.xul < prev    next >
Encoding:
Extensible Markup Language  |  2005-12-22  |  6.4 KB  |  153 lines

  1. <?xml version="1.0"?> 
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.  Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.  
  5.  The contents of this file are subject to the Mozilla Public License Version
  6.  1.1 (the "License"); you may not use this file except in compliance with
  7.  the License. You may obtain a copy of the License at
  8.  http://www.mozilla.org/MPL/
  9.  
  10.  Software distributed under the License is distributed on an "AS IS" basis,
  11.  WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.  for the specific language governing rights and limitations under the
  13.  License.
  14.  
  15.  The Original Code is Mozilla Communicator client code, released
  16.  March 31, 1998.
  17.  
  18.  The Initial Developer of the Original Code is
  19.  Netscape Communications Corporation.
  20.  Portions created by the Initial Developer are Copyright (C) 1998-1999
  21.  the Initial Developer. All Rights Reserved.
  22.  
  23.  Contributor(s):
  24.  
  25.  Alternatively, the contents of this file may be used under the terms of
  26.  either of the GNU General Public License Version 2 or later (the "GPL"),
  27.  or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  28.  in which case the provisions of the GPL or the LGPL are applicable instead
  29.  of those above. If you wish to allow use of your version of this file only
  30.  under the terms of either the GPL or the LGPL, and not to allow others to
  31.  use your version of this file under the terms of the MPL, indicate your
  32.  decision by deleting the provisions above and replace them with the notice
  33.  and other provisions required by the GPL or the LGPL. If you do not delete
  34.  the provisions above, a recipient may use your version of this file under
  35.  the terms of any one of the MPL, the GPL or the LGPL.
  36.  
  37.  ***** END LICENSE BLOCK ***** -->
  38. <?xml-stylesheet href="chrome://messenger/skin/messageWindow.css" type="text/css"?> 
  39.  
  40. <?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
  41. <?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  42. <?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
  43. <?xul-overlay href="chrome://messenger/content/mailWindowOverlay.xul"?>
  44. <?xul-overlay href="chrome://messenger/content/mailOverlay.xul"?>
  45.  
  46. <!DOCTYPE window [
  47. <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
  48. %brandDTD;
  49. <!ENTITY % messengerDTD SYSTEM "chrome://messenger/locale/messenger.dtd" >
  50. %messengerDTD;
  51. ]>
  52.                     
  53. <window id="messengerWindow"
  54.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  55.         xmlns:nc="http://home.netscape.com/NC-rdf#"
  56.         title="&messengerWindow.title;"
  57.         titlemodifier="&titleModifier.label;"
  58.         titlemenuseparator="&titleSeparator.label;"
  59.         onload="OnLoadMessageWindow()"
  60.         onunload="OnUnloadMessageWindow()"
  61.         width="750"
  62.         height="500"
  63.         persist="width height screenX screenY sizemode"
  64.         windowtype="mail:messageWindow">
  65.  
  66.   <stringbundleset id="stringbundleset">
  67.     <stringbundle id="bundle_brand" src="chrome://branding/locale/brand.properties"/>
  68.     <stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties"/>
  69.     <stringbundle id="bundle_offlinePrompts" src="chrome://messenger/locale/offline.properties"/>
  70.   </stringbundleset>
  71.  
  72.   <script type="application/x-javascript" src="chrome://messenger/content/shareglue.js"/>
  73.   <script type="application/x-javascript" src="chrome://messenger/content/commandglue.js"/>
  74.   <script type="application/x-javascript" src="chrome://messenger/content/mailWindow.js"/>
  75.   <script type="application/x-javascript" src="chrome://messenger/content/messageWindow.js"/>
  76.   <script type="application/x-javascript" src="chrome://messenger/content/accountUtils.js"/>
  77.   <script type="application/x-javascript" src="chrome://messenger/content/mailContextMenus.js"/>
  78.   <script type="application/x-javascript" src="chrome://messenger/content/phishingDetector.js"/>
  79.   <script type="application/x-javascript" src="chrome://communicator/content/contentAreaClick.js"/>
  80.   <script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/>
  81.   <script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
  82.   <script type="application/x-javascript" src="chrome://messenger/content/msgViewNavigation.js"/>
  83.  
  84.   <commandset id="mailCommands">
  85.     <commandset id="mailFileMenuItems"/>
  86.     <commandset id="mailViewMenuItems"/>
  87.     <commandset id="mailEditMenuItems"/>
  88.     <commandset id="mailSearchMenuItems"/>
  89.     <commandset id="mailGoMenuItems"/>
  90.     <commandset id="mailMessageMenuItems"/>
  91.     <commandset id="mailToolbarItems"/>
  92.     <commandset id="mailGetMsgMenuItems"/>
  93.     <commandset id="mailMarkMenuItems"/>
  94.     <commandset id="mailLabelMenuItems"/>
  95.     <commandset id="mailToolsMenuItems"/>
  96.     <commandset id="mailEditContextMenuItems"/>
  97.       <commandset id="tasksCommands"/>
  98.     <commandset id="commandKeys"/>
  99.   </commandset>
  100.  
  101.   <broadcasterset id="mailBroadcasters">
  102.     <broadcaster id="mailHideMenus" hidden="true"/>
  103.     <broadcaster id="mailDisableKeys" disabled="true"/>
  104.     <!-- File Menu -->
  105.     <broadcaster id="Communicator:WorkMode"/>
  106.     <!-- Edit Menu -->
  107.   </broadcasterset>
  108.  
  109.   <keyset id="mailKeys">
  110.     <keyset id="tasksKeys"/>
  111.     <key keycode="VK_ESCAPE" oncommand="window.close();"/>
  112.   </keyset>
  113.  
  114.   <popupset>
  115.     <popup id="emailAddressPopup"/>
  116.  
  117.     <popup id="allHeadersPopup"  onpopupshowing="return fillAllHeadersPopup(document.popupNode);" popupanchor="bottomleft">
  118.       <hbox id="allHeadersPopupContainer"/>
  119.     </popup>
  120.  
  121.     <popup id="messagePaneContext"/>
  122.   </popupset>
  123.  
  124.   <popup id="attachmentListContext"/>
  125.  
  126.   <toolbox id="mailToolbarToolbox">
  127.     <menubar id="mailMenubar"/>
  128.   </toolbox>
  129.   
  130.  <!-- msg header view -->
  131. <vbox id="messagesBox" flex="1">
  132.   <vbox id="messagepanebox" flex="3" persist="collapsed"
  133.         ondragover="nsDragAndDrop.dragOver(event, messagepaneObserver);"
  134.         ondragdrop="nsDragAndDrop.drop(event, messagepaneObserver);"
  135.         ondragexit="nsDragAndDrop.dragExit(event, messagepaneObserver);">
  136.  
  137.     <deck id="msgNotificationBar"/>
  138.  
  139.     <hbox id="msgHeaderView"/>
  140.  
  141.     <!-- message view -->
  142.     <browser id="messagepane" context="messagePaneContext" 
  143.       style="height: 0px; min-height: 1px" flex="1" name="messagepane" 
  144.       disablesecurity="true" disablehistory="true" type="content-primary" 
  145.       onmousedown="return contentAreaMouseDown(event);"
  146.       src="about:blank" onclick="return messagePaneOnClick(event);" autofind="false"/>
  147.   </vbox>  
  148. </vbox>
  149.  
  150.   <statusbar class="chromeclass-status" id="status-bar"/>
  151.  
  152. </window>
  153.